ahrefs\AhrefsSeo_Vendor\phpseclib\Net\SSH2 D

Total Complexity 690
Dependencies 13
Dependents 1
Total lines 4,380
Lines of code 2,461
Logical lines of code 1,800
Comment lines 1,708
Methods 93
Properties 93

Methods 93

Method Rating Maintainability Complexity Lines of code
_key_exchange()
D
3
106 458
_get_channel_packet()
D
19
64 213
_get_binary_packet()
D
25
44 142
_filter()
D
26
43 135
_login_helper()
D
28
35 127
getServerPublicHostKey()
D
28
30 130
_connect()
C
31 29 103
_login()
C
39 26 67
_keyboard_interactive_process()
C
34 24 89
_encryption_algorithm_to_key_size()
B
47 24 33
_encryption_algorithm_to_crypt_instance()
B
46 21 34
exec()
B
38 18 68
_privatekey_login()
B
35 16 86
_send_binary_packet()
A
41 13 49
setPreferredAlgorithms()
A
44 13 44
_append_log()
A
42 12 54
read()
A
47 12 33
getSupportedEncryptionAlgorithms()
A
43 9 49
_initShell()
A
47 8 37
_generate_identifier()
S
54 7 21
_close_channel()
S
55 6 19
startSubsystem()
S
52 5 25
ping()
S
54 5 21
getLog()
S
59 5 14
login()
S
59 5 13
_format_log()
S
53 4 20
_send_channel_packet()
S
56 4 17
__construct()
S
47 3 28
_define_array()
S
62 4 12
_disconnect()
S
61 4 11
write()
S
62 4 11
_get_open_channel()
S
64 4 9
_bad_algorithm_candidate()
S
66 4 9
_reconnect()
S
62 3 11
_array_intersect_first()
S
67 3 8
disconnect()
S
71 3 6
_updateLogHistory()
S
70 3 5
_ssh_agent_login()
S
64 3 10
_get_interactive_channel()
S
66 3 10
getSupportedKEXAlgorithms()
S
62 2 13
_on_channel_open()
S
75 2 5
disablePTY()
S
70 2 7
_keyboard_interactive_login()
S
66 2 7
getLastError()
S
70 2 6
getExitStatus()
S
72 2 6
getSupportedCompressionAlgorithms()
S
67 2 8
getCompressionAlgorithmsServer2Client()
S
78 1 4
getCompressionAlgorithmsClient2Server()
S
78 1 4
enableSmartMFA()
S
81 1 3
getMACAlgorithmsServer2Client()
S
78 1 4
getLanguagesServer2Client()
S
78 1 4
getAuthMethodsToContinue()
S
83 1 3
getAlgorithmsNegotiated()
S
69 1 5
setWindowRows()
S
82 1 3
setWindowSize()
S
77 1 4
getLanguagesClient2Server()
S
78 1 4
getBannerMessage()
S
83 1 3
setWindowColumns()
S
82 1 3
getWindowRows()
S
83 1 3
getServerAlgorithms()
S
72 1 4
getSupportedHostKeyAlgorithms()
S
70 1 8
getWindowColumns()
S
83 1 3
getSupportedMACAlgorithms()
S
68 1 9
getEncryptionAlgorithmsServer2Client()
S
78 1 4
getMACAlgorithmsClient2Server()
S
78 1 4
isPTYEnabled()
S
83 1 3
getEncryptionAlgorithmsClient2Server()
S
78 1 4
isConnected()
S
80 1 3
sendIdentificationStringFirst()
S
81 1 3
sendIdentificationStringLast()
S
81 1 3
sendKEXINITFirst()
S
81 1 3
sendKEXINITLast()
S
81 1 3
setTimeout()
S
81 1 3
setKeepAlive()
S
82 1 3
getStdError()
S
83 1 3
stopSubsystem()
S
73 1 5
reset()
S
82 1 3
isTimeout()
S
83 1 3
__destruct()
S
83 1 3
isAuthenticated()
S
80 1 3
getServerHostKeyAlgorithms()
S
78 1 4
_reset_connection()
S
63 1 10
enableQuietMode()
S
81 1 3
disableQuietMode()
S
81 1 3
isQuietModeEnabled()
S
83 1 3
enablePTY()
S
81 1 3
setCryptoEngine()
S
82 1 3
_string_shift()
S
72 1 5
_format_log_helper()
S
76 1 3
getErrors()
S
83 1 3
getServerIdentification()
S
78 1 4
getKexAlgorithms()
S
78 1 4
disableSmartMFA()
S
81 1 3